import request from "@/utils/request";


/************ 目录级联审批 **********/
export function getTableList(params) {
  return request({
    url: `cascade/use/apply/list`,
    method: "get",
    params,
  });
}
export function getDetail(id) {
  return request({
    url: `/cascade/use/apply/${id}/detail`,
    method: "get",
  });
}
export function aprrove(id, data) {
  return request({
    url: `/cascade/use/apply/${id}/audit`,
    method: "post",
    data
  });
}
